#! /bin/sh

q_perm_exec=q_perm_main
if ! [ $1 ]
then
	echo "Usage:$0 <0,1>"
	exit 1
fi

i=0
while [ $i -lt 256 ]
do
	./$q_perm_exec $1 `echo $i | awk '{printf "%x", $1}'`
	i=$((i+1))
done
